package com.yanqu.road.entity.banquet.baifubanquet;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.DataStatus;

/**
 * @Description 百福宴会参与人员
 * @Author cwq
 * @Data 2021/11/9 10:30
 */
@FieldTypeAnnotation(tableName = "t_c_activity_good_banquet_join")
public class GoodBanquetJoinInfoData extends DataObject {

    @FieldTypeAnnotation(select = true, update = true, desc = "宴会id")
    private long banquetId;

    @FieldTypeAnnotation(select = true, update = true, desc = "活动id")
    private int activityId;

    @FieldTypeAnnotation(desc = "赴宴玩家id")
    private long userId;

    @FieldTypeAnnotation(desc = "加入的时间 s")
    private long time;

    public long getBanquetId() {
        return banquetId;
    }
    public void setBanquetId(long banquetId) {
        if (this.banquetId != banquetId) {
            this.banquetId = banquetId;
            setOp(DataStatus.Update);
        }
    }

    public int getActivityId() {
        return activityId;
    }
    public void setActivityId(int activityId) {
        if (this.activityId != activityId) {
            this.activityId = activityId;
            setOp(DataStatus.Update);
        }
    }

    public long getUserId() {
        return userId;
    }
    public void setUserId(long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setOp(DataStatus.Update);
        }
    }

    public long getTime() {
        return time;
    }
    public void setTime(long time) {
        if (this.time != time) {
            this.time = time;
            setOp(DataStatus.Update);
        }
    }


}
